import React from 'react'


interface Props {
	inputRef: React.RefObject<HTMLInputElement>
}
export default function RefChild({inputRef}:Props) {
	// if(true){
	// 	inputRef.current?.focus()
	// }
	return (
		<div>
			<input type="text" name='name' placeholder='请输入' ref={inputRef}/>
		</div>
	)
}
